package com.mall.user.service;





import com.mall.entity.Permission;

import java.util.List;

public interface PermissionService {


    //根据用户id获取用户菜单
    List<String> selectPermissionValueByUsername(String username);


    /**
     * 查询所有可操作权限
     * @return
     */
    List<Permission> getAllPermission();

    /**
     * 查询权限菜单
     * @return
     */
    List<Permission> slectPermissionMenu();

    List<Permission> slectPermissionByMenuId(Integer menuId, Integer roleId);
}
